<template>
    <div class="drug">
        <div class="search-drug-around">
            <div class="back-drug">
                <router-link :to="backUrl"><img src="/public/back.jpeg" alt="" class="back-logo"></router-link>
            </div>
            <div class="search-drug">

            </div>
        </div>
        <div class="details-drug">
            <div class="details-drug-picture">
                <img src="/public/amoxilin.jpeg" alt="" class="details-drug-picture1">
            </div>
            <div class="details-drug-passage">
                <h6>阿莫西林，西药名。常用剂型有片剂、胶囊剂、颗粒剂、咀嚼片等。为β内酰胺类抗生素、青霉素类药。用于上、下呼吸道感染、泌尿生殖道感染、皮肤软组织感染、急性单纯性淋病等；还可用于治疗伤寒、伤寒带菌者及钩端螺旋体病；阿莫西林亦可与克拉霉素、兰索拉唑三联用药根除胃、十二指肠幽门螺杆菌，降低消化道溃疡复发率。本品医保类型为：阿莫西林分散片、阿莫西林片、阿莫西林颗粒、阿莫西林胶囊为医保甲类；阿莫西林咀嚼片为医保乙类。</h6>
            </div>
        </div>
    </div>
</template>


<style scoped>
  .drug {
    height: 80vh;
    width: 40vh;
    display:flex;
     align-items: center;
     flex-direction: column;
    justify-content: center;
    background-color:white;
    border: 1px solid black;
  }
  .search-drug-around{
    height:10vh;
    width:36vh;
  }
  .details-drug{
    height:65vh;
    width:36vh;
  }
  .back-logo{
    height:5vh;
    width:6vh;
  }
.details-drug-picture1{
    height:25vh;
    width:35vh;
}
</style>
<script>
export default {
  data() {
    return {
      // 获取上一个路由的路径
      backUrl: this.$router.options.history.state.back
    };
  }
};
</script>